/**
 * KAYO APPLIANCE CHAINS.
 * Copyright (c) 2016-2016 All Rights Reserved.
 */
package com.leku.video.constants;

/**
 * 
 * 功能描述: 请求返回枚举类
 *
 * @author suiying
 * @created 2017年9月30日
 * @version 1.0.0
 */
public enum ResultEnum {

	SUCCESS("0", "success"), SIGNERROR("-2", "请求异常"), SYSERROR("-1", "系统异常"), PARAMERROR("1", "参数异常");

	private String resCode;
	private String resMsg;

	private ResultEnum(String resCode, String resMsg) {
		this.resCode = resCode;
		this.resMsg = resMsg;
	}

	/**
	 * @return the resCode
	 */
	public String getResCode() {
		return resCode;
	}

	/**
	 * @param resCode
	 *            the resCode to set
	 */
	public void setResCode(String resCode) {
		this.resCode = resCode;
	}

	/**
	 * @return the resMsg
	 */
	public String getResMsg() {
		return resMsg;
	}

	/**
	 * @param resMsg
	 *            the resMsg to set
	 */
	public void setResMsg(String resMsg) {
		this.resMsg = resMsg;
	}

}
